package com.example.bean;

import java.io.Serializable;
import java.util.Arrays;


public class GridViewBean implements Serializable{
	private static final long serialVersionUID = 5L;
	
	private String userName;
	private String money;
	private String type;
	private String state;
	private String time;
	private String mark;
	private int id;
	private int img;
	private	Integer[] imgs;
	private String[] types;
	
	public GridViewBean(Integer[] imgs, String[] types) {
		super();
		this.imgs = imgs;
		this.types = types;
	}

	public GridViewBean(){
		super();
	}
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getImg() {
		return img;
	}

	public void setImg(int img) {
		this.img = img;
	}

	public Integer[] getImgs() {
		return imgs;
	}

	public void setImgs(Integer[] imgs) {
		this.imgs = imgs;
	}

	public String[] getTypes() {
		return types;
	}

	public void setTypes(String[] types) {
		this.types = types;
	}

	@Override
	public String toString() {
		return "GridViewBean [money=" + money + ", type=" + type + ", time="
				+ time + ", id=" + id + ", state='" + state+"]";
	}
/*
    @Override
    public String toString() {
        return "GridViewBean{" +
                "userName='" + userName + '\'' +
                ", money='" + money + '\'' +
                ", type='" + type + '\'' +
                ", state='" + state + '\'' +
                ", time='" + time + '\'' +
                ", mark='" + mark + '\'' +
                ", id=" + id +
                ", img=" + img +
                ", imgs=" + Arrays.toString(imgs) +
                ", types=" + Arrays.toString(types) +
                '}';
    }
    */
}
